WpAssetCleanUp\OptimiseAssets\OptimizeCss D

Total Complexity 317
Dependencies 16
Dependents 8
Total lines 1,413
Lines of code 828
Logical lines of code 539
Comment lines 325
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
maybeOptimizeIt()
D
22
61 160
isOptimizeCssEnabledByOtherParty()
D
30 55 87
updateHtmlSourceOriginalToOptimizedCss()
C
35 26 77
doInline()
C
35 26 74
prepareOptimizeList()
C
39 26 57
alterHtmlSource()
B
41 17 52
maybeAlterContentForInlineStyleTag()
B
43 17 43
getInlineAssociatedWithLinkHandle()
A
49 13 26
ignoreDependencyRuleAndKeepChildrenLoaded()
A
52 11 22
maybeFixCssContent()
A
43 6 48
updateOriginalToOptimizedTag()
S
51 7 24
triggersAfterInit()
S
55 5 19
maybeAlterContentForCssFile()
S
58 5 16
appendNoScriptCertainLinkTags()
S
56 5 15
importsUpdate()
S
60 5 12
isWpRocketOptimizeCssDeliveryEnabled()
S
61 5 12
isInlineCssEnabled()
S
62 5 11
generateInlineAssocHtmlForHandle()
S
58 3 17
init()
S
59 3 14
getAllInlineChosenPatterns()
S
61 3 12
isAutoInlineEnabled()
S
72 3 5
getFirstLinkTag()
S
64 3 9
wpfcMinifyCssEnabledOnly()
S
65 3 8
isWorthCheckingForOptimization()
S
73 3 5
getRelPathCssCacheDir()
S
79 1 3